package com.wenc.psi.bean;

import androidx.annotation.NonNull;

import com.wenc.psi.pojo.Sale;
import com.wenc.psi.pojo.SaleDetail;

import java.util.LinkedList;

public class SaleBean extends Sale{
    private String employeeName;
    private String customerName;
    private LinkedList<SaleDetailBean> saleDetailBeanLinkedList;

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public LinkedList<SaleDetailBean> getSaleDetailBeanLinkedList() {
        return saleDetailBeanLinkedList;
    }

    public void setSaleDetailBeanLinkedList(LinkedList<SaleDetailBean> saleDetailBeanLinkedList) {
        this.saleDetailBeanLinkedList = saleDetailBeanLinkedList;
    }

    @Override
    public String toString() {
        return "SaleBean{" +
                "id='" + id + '\'' +
                ", customerID='" + customerID + '\'' +
                ", customerName='" + customerName + '\'' +
                ", employeeID='" + employeeID + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", date=" + date +
                ", time=" + time +
                ", discount=" + discount +
                ", addition=" + addition +
                ", total=" + total +
                ", paymentStatus='" + paymentStatus + '\'' +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", statisticStatus='" + statisticStatus + '\'' +
                ", note='" + note + '\'' +
                ", status='" + status + '\'' +
                ", saleDetailBeanLinkedList=" + saleDetailBeanLinkedList +
                '}';
    }
}
